<template>
  <!-- http://content.daylucky.cn/admin/image/ab4jimd15siepl1pfoc225wr.png -->
  <van-popup :show="isShow" @close="onClose" custom-style="background: transparent">
    <view class="photo_cont flex-c">
      <image class="mask_txt" src="http://content.daylucky.cn/admin/image/0p4fgzzu6k4wk046uvj53x5m.png"></image>
      <view class="w_482">{{ content }}</view>
      <image class="mask_btn" @click="onClose" src="http://content.daylucky.cn/admin/image/w49t9rshtyntlu6orrjwomjn.png">
      </image>
    </view>
  </van-popup>
</template>
<script>
export default {
  props: {
    isShow: {
      type: Boolean,
      default: false
    },
    content: {
      type: String,
      default: ''
    }
  },
  // watch: {
  //   isShow: {
  //     handler(n) {
  //       if (n) {
  //         this.fnGet()
  //       }
  //     },
  //     immediate: true
  //   }
  // },

  data() {
    return {
    }
  },
  created() {
  },

  methods: {

    onClose() {
      this.$emit("update:isShow", false)
    }
  }
}
</script>
<style lang="scss" scoped src="@/styles/mask.scss"></style>
